import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Chart from '@/components/Chart'
import Table from '@/components/Table'

Vue.use(Router)

export default new Router({
    routes: [{
        path: '/',
        name: 'Login',
        component: Login
    }, {
        path: '/chart',
        name: 'Chart',
        component: Chart
    }, {
        path: '/table',
        name: 'Table',
        component: Table
    }]
})